package as.service;

import java.util.List;

import as.entity.Register;
import as.entity.Student;

public interface RegisterService {

	public void saveRegister(Register register);
	public void removeRegister(Register register);
	public Register findRegisterMax();
	public int numberOfStudent(long id);
	public List<Register> findAllRegistersByCourseId(long id);
	public void RemoveRegisterList(List<Register> list);
	public Register findRegisteris(Integer id); 
	public List<Student> findAllStudentByCourseId(long id);
	public List<Register> findRegisteByStudentId(long id);
	public boolean IsStudentRepeat(long id);
	public List<Student> findAllStudentByStudentId(long id);
}
